package org.csu.mypetstore.api.service;

import org.csu.mypetstore.api.common.CommonResponse;
import org.csu.mypetstore.api.entity.Account;
import org.csu.mypetstore.api.vo.AccountVO;
import org.csu.mypetstore.api.vo.ChatUserVO;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface AccountService {
    CommonResponse<AccountVO> getAccount(String username, String password);

    CommonResponse<AccountVO> getAccount(String username);

    CommonResponse<AccountVO> updateAccount(AccountVO accountVO);

    CommonResponse<AccountVO> insertAccount(String username, String password);

    CommonResponse<AccountVO> getAccountByPhone(String phoneNumber);
}
